-- GENERATED SPELL FOR [Hexed Troll] --


function spell0_3207(pUnit, Event) --@Immolate,n/a--
pUnit:FullCastSpellOnTarget(348,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3207', 17000, 1)
end

function Sorts_3207(pUnit, Event)
local choix_sorts_3207 = math.random(0, 0)
if choix_sorts_3207 == 0 then
pUnit:RegisterEvent('spell0_3207', 1, 1)
end
end

function mob3207_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3207', math.random(1500, 3000), 1)
end

function mob3207_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3207_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3207_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3207, 1, 'mob3207_Action')
RegisterUnitEvent(3207, 2, 'mob3207_Leave')
RegisterUnitEvent(3207, 3, 'mob3207_Kill')
RegisterUnitEvent(3207, 4, 'mob3207_Die')
